package com.iot.manager.data.models;

import com.google.gson.annotations.SerializedName;

public class DeviceHeartbeatRequest {
    @SerializedName("deviceId")
    private String deviceId;

    @SerializedName("status")
    private String status;

    @SerializedName("metrics")
    private DeviceMetrics metrics;

    public static class DeviceMetrics {
        @SerializedName("temperature")
        private Double temperature;

        @SerializedName("humidity")
        private Double humidity;

        @SerializedName("battery")
        private Double battery;

        @SerializedName("signal")
        private Double signal;

        public Double getTemperature() {
            return temperature;
        }

        public void setTemperature(Double temperature) {
            this.temperature = temperature;
        }

        public Double getHumidity() {
            return humidity;
        }

        public void setHumidity(Double humidity) {
            this.humidity = humidity;
        }

        public Double getBattery() {
            return battery;
        }

        public void setBattery(Double battery) {
            this.battery = battery;
        }

        public Double getSignal() {
            return signal;
        }

        public void setSignal(Double signal) {
            this.signal = signal;
        }
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public DeviceMetrics getMetrics() {
        return metrics;
    }

    public void setMetrics(DeviceMetrics metrics) {
        this.metrics = metrics;
    }
} 